// react 没有全局组件和局部组件的概念（都是局部）
// 在哪用在哪儿引入即可

import React, {
  useLayoutEffect,
  useEffect,
  useRef,
  useState,
  useCallback,
  useMemo,
  useDebugValue,
  useId,
  Suspense,
  lazy
} from "react";
import { createPortal } from "react-dom";

const App: React.FC = () => { 
  return (
    <>
      {createPortal(<div>123</div>, document.body)}
    </>
  )
};


export default App;
